package com.nexus.core.sys.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.nexus.core.query.annotation.QueryCondition;
import com.nexus.core.query.annotation.QueryType;
import com.nexus.core.service.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 职务
 *
 * @Date 2025/7/28 15:08
 * @Author Administrator
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class SysPostDTO extends BaseDTO {


    /**
     * 岗位名称
     */
    @ExcelProperty("岗位名称")
    @QueryCondition(tableField = "name", type = QueryType.EQ)
    private String name;
    /**
     * 岗位编码
     */
    @ExcelProperty("岗位编码")
    @QueryCondition(tableField = "code", type = QueryType.EQ)
    private String code;
    /**
     * 所在公司
     */
    @ExcelProperty("所在公司")
    @QueryCondition(tableField = "org.id", type = QueryType.EQ)
    private SysOrgDTO org;
    /**
     * 岗位类型
     */
    @ExcelProperty("岗位类型")
    @QueryCondition(tableField = "type", type = QueryType.EQ)
    private String type;
    /**
     * 岗位状态
     */
    @ExcelProperty("岗位状态")
    @QueryCondition(tableField = "status", type = QueryType.EQ)
    private String status;
}